package model

import (
	"time"
)

type AuActivity struct {
	Aid           int       `xorm:"not null pk autoincr INT(11)"`
	AName         string    `xorm:"not null VARCHAR(80)"`
	Amount        float64   `xorm:"not null DOUBLE(10,2)"`
	Type          int       `xorm:"not null TINYINT(1)"`
	Createtime    time.Time `xorm:"not null DATETIME"`
	Modifytime    time.Time `xorm:"not null DATETIME"`
	Starttime     time.Time `xorm:"not null DATETIME"`
	Endtime       time.Time `xorm:"not null DATETIME"`
	State         int       `xorm:"not null default 1 TINYINT(1)"`
	ActivityNo    string    `xorm:"not null VARCHAR(30)"`
	EmpId         int       `xorm:"not null INT(11)"`
	Denomination  string    `xorm:"not null TEXT"`
	BranchId      int       `xorm:"not null INT(11)"`
	Form          int       `xorm:"not null TINYINT(4)"`
	CouponEndDate time.Time `xorm:"not null DATE"`
}
